
import axios from 'axios'

export function getDiscList(params) {
  let ap=params.method
  let sp=""
  if(!ap){
    ap=axios.get
  }
  if(!params.data){
    params.data={}
  }
  return ap(params.url, {
    params: params.data
  }).then((res) => {
    return Promise.resolve(res)
  })

}